home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / pchelp.arc / ASK.### < prev    next >
Text File  |  1985-01-20  |  659b  |  23 lines

  1. COMMAND:  ASK                                   DOCUMENTATION : On-line
  2.  
  3. FUNCTION: Asks a yes/no question from a batch file.
  4.  
  5. FORMAT:   ASK [text]
  6.  
  7. TYPE:     Public domain batch sub-command
  8.  
  9. REMARKS:  This enhancement to the DOS 2.0 batch facility allows a batch file
  10.           to ask a yes/no question of the user. The user must enter Y,y,N or n.
  11.           If any other character is entered, 'Y/N ?' is displayed, and the user
  12.           must try again. Upon receipt of a valid entry, ERRORLEVEL is set to
  13.           0 for Y,y and to 1 for N,n. If no text is supplied, the default
  14.           prompt 'Press Y or N ?' is displayed.
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.